public class Advertising
{
	private static bool isIngameAdAlreadyPoped;

	public static bool TryPopIngameAd()
	{
		if (!isIngameAdAlreadyPoped)
		{
			isIngameAdAlreadyPoped = true;
			PopIngameAd();
			return true;
		}
		return false;
	}

	public static void PopIngameAd()
	{
		AdManagerOld.instance.curAd.ShowSpecialInterstitial(isShowBefore: true, QiXunAd.PAGE_MAIN, 0, 0);
	}
}
